package com.kd.dao.jobSeeker;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kd.bean.jobSeeker.Report_recruitment_msg;
import com.kd.bean.jobSeeker.Report_recruitment_person;

/**
 * 求职者
 * 举报招聘者信息
 * @author 	ZFC
 *
 */
public interface IReport_recruitment_personDao {
	
	/**
	 * 管理员操作
	 * 查看举报招聘者信息
	 * 只查看未审核的举报信息
	 * @return
	 * @throws Exception
	 */
	public List<Report_recruitment_person> queryAllByRrp_report_state() throws Exception;
	
	/**
	 * 修改审核状态
	 * 管理员操作
	 * @param rrp_report_state
	 * @return
	 * @throws Exception
	 */
	public int updateRrp_report_state(@Param("rrp_id")Integer rrp_id,@Param("rrp_report_state")Integer rrp_report_state) throws Exception;
	
	/**
	 * 通过举报招聘者信息id查询  举报招聘信息
	 * @param rrp_id
	 * @return
	 * @throws Exception
	 */
	public Report_recruitment_person queryByRrp_id(Integer rrp_id) throws Exception;
	
	/**
	 * 举报招聘者，插入一条信息
	 * @param report_recruitment_person
	 * @return
	 * @throws Exception
	 */
	public int insertReport_recruitment_person(Report_recruitment_person report_recruitment_person) throws Exception;
	
}
